﻿using System.Data.Entity.ModelConfiguration;
using yiCommerce.Core.Domain.Customers;

namespace yiCommerce.Data.Mapping.Customers
{
    public class CustomerLogoMapping : EntityTypeConfiguration<CustomerLogo>
    {
        public CustomerLogoMapping()
        {
            this.HasKey(c => c.Id);
            this.ToTable("CustomerLogo");
            this.HasKey(pp => pp.Id);

            this.HasRequired(pp => pp.Picture);


              
        } 
    }
}